﻿/*
----------------------------------------
    Rodeo Game Engine

    Rodeo Core Module
    OutputManager.h

    Copyright(c) Marcin Goryca
----------------------------------------
*/
#ifndef RODEO_CORE_OUTPUTMANAGER_H
#define RODEO_CORE_OUTPUTMANAGER_H

#ifndef RODEO_IO_LOGO_H_
#include "io/log.h"
#endif

#ifndef RODEO_CORE_MASTERMANAGER_H_
#include "core/mastermanager.h"
#endif

namespace rodeocore
{
class OutputManager : public MasterManager
{
public:

    OutputManager()
        :MasterManager()
    {
        init();
    }

    ~OutputManager()
    {
        clear();
    }

    rodeoio::Log* getLog() const
    {
        return log_;
    }

private:

    void init();

    void clear();

//==== MEMBERS ====//
    rodeoio::Log* log_;
};
}    //end of rodeocore namespace

#endif    //RODEO_CORE_OUTPUTMANAGER_H